# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')

class FT_0108:
    result=[]
    analysisDescription = ['自定义消息体长度：','车辆ID：','算法秘钥：']
    analysis0108Length=[2,6,16]

    def LogicAisle(self, protocolStr, header):
        count=0
        for i in range(len(self.analysisDescription)):
            val=protocolStr[count:count+self.analysis0108Length[i]*2]
            header.append(self.analysisDescription[i]+val+'\n')
            count +=self.analysis0108Length[i]*2
        self.result=header
